home *** CD-ROM | disk | FTP | other *** search
/ Saitek New Smart Technology Disc / Saitek New Smart Technology Disc (SD2.6).bin / Win9X / Software / data1.cab / Com_DLLs / SaiPP8t.dll / 0 / X / ANALOG.X next >
Text File  |  2002-06-27  |  5KB  |  261 lines

  1. xof 0302txt 0064
  2. //
  3. // DirectX file: E:\saitek joysticks\New joypad\New Direct X models 5-8-99\anadig.x
  4. //
  5. // Converted by the PolyTrans geometry converter from Okino Computer Graphics, Inc.
  6. // Date/time of export: 08/05/1999 09:23:17
  7. //
  8. // Bounding box of geometry = (-0.0219,0.00469777,-0.029) to (0.0204,0.00469777,-0.0255).
  9.  
  10.  
  11. template Header {
  12.  <3D82AB43-62DA-11cf-AB39-0020AF71E433>
  13.  WORD major;
  14.  WORD minor;
  15.  DWORD flags;
  16. }
  17.  
  18. template Vector {
  19.  <3D82AB5E-62DA-11cf-AB39-0020AF71E433>
  20.  FLOAT x;
  21.  FLOAT y;
  22.  FLOAT z;
  23. }
  24.  
  25. template Coords2d {
  26.  <F6F23F44-7686-11cf-8F52-0040333594A3>
  27.  FLOAT u;
  28.  FLOAT v;
  29. }
  30.  
  31. template Matrix4x4 {
  32.  <F6F23F45-7686-11cf-8F52-0040333594A3>
  33.  array FLOAT matrix[16];
  34. }
  35.  
  36. template ColorRGBA {
  37.  <35FF44E0-6C7C-11cf-8F52-0040333594A3>
  38.  FLOAT red;
  39.  FLOAT green;
  40.  FLOAT blue;
  41.  FLOAT alpha;
  42. }
  43.  
  44. template ColorRGB {
  45.  <D3E16E81-7835-11cf-8F52-0040333594A3>
  46.  FLOAT red;
  47.  FLOAT green;
  48.  FLOAT blue;
  49. }
  50.  
  51. template IndexedColor {
  52.  <1630B820-7842-11cf-8F52-0040333594A3>
  53.  DWORD index;
  54.  ColorRGBA indexColor;
  55. }
  56.  
  57. template Boolean {
  58.  <4885AE61-78E8-11cf-8F52-0040333594A3>
  59.  WORD truefalse;
  60. }
  61.  
  62. template Boolean2d {
  63.  <4885AE63-78E8-11cf-8F52-0040333594A3>
  64.  Boolean u;
  65.  Boolean v;
  66. }
  67.  
  68. template MaterialWrap {
  69.  <4885AE60-78E8-11cf-8F52-0040333594A3>
  70.  Boolean u;
  71.  Boolean v;
  72. }
  73.  
  74. template TextureFilename {
  75.  <A42790E1-7810-11cf-8F52-0040333594A3>
  76.  STRING filename;
  77. }
  78.  
  79. template Material {
  80.  <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  81.  ColorRGBA faceColor;
  82.  FLOAT power;
  83.  ColorRGB specularColor;
  84.  ColorRGB emissiveColor;
  85.  [...]
  86. }
  87.  
  88. template MeshFace {
  89.  <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  90.  DWORD nFaceVertexIndices;
  91.  array DWORD faceVertexIndices[nFaceVertexIndices];
  92. }
  93.  
  94. template MeshFaceWraps {
  95.  <4885AE62-78E8-11cf-8F52-0040333594A3>
  96.  DWORD nFaceWrapValues;
  97.  Boolean2d faceWrapValues;
  98. }
  99.  
  100. template MeshTextureCoords {
  101.  <F6F23F40-7686-11cf-8F52-0040333594A3>
  102.  DWORD nTextureCoords;
  103.  array Coords2d textureCoords[nTextureCoords];
  104. }
  105.  
  106. template MeshMaterialList {
  107.  <F6F23F42-7686-11cf-8F52-0040333594A3>
  108.  DWORD nMaterials;
  109.  DWORD nFaceIndexes;
  110.  array DWORD faceIndexes[nFaceIndexes];
  111.  [Material]
  112. }
  113.  
  114. template MeshNormals {
  115.  <F6F23F43-7686-11cf-8F52-0040333594A3>
  116.  DWORD nNormals;
  117.  array Vector normals[nNormals];
  118.  DWORD nFaceNormals;
  119.  array MeshFace faceNormals[nFaceNormals];
  120. }
  121.  
  122. template MeshVertexColors {
  123.  <1630B821-7842-11cf-8F52-0040333594A3>
  124.  DWORD nVertexColors;
  125.  array IndexedColor vertexColors[nVertexColors];
  126. }
  127.  
  128. template Mesh {
  129.  <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  130.  DWORD nVertices;
  131.  array Vector vertices[nVertices];
  132.  DWORD nFaces;
  133.  array MeshFace faces[nFaces];
  134.  [...]
  135. }
  136.  
  137. template FrameTransformMatrix {
  138.  <F6F23F41-7686-11cf-8F52-0040333594A3>
  139.  Matrix4x4 frameMatrix;
  140. }
  141.  
  142. template Frame {
  143.  <3D82AB46-62DA-11cf-AB39-0020AF71E433>
  144.  [...]
  145. }
  146.  
  147. Header {
  148.     1; // Major version
  149.     0; // Minor version
  150.     1; // Flags
  151. }
  152.  
  153. Material xof_default {
  154.     0.400000;0.400000;0.400000;1.000000;;
  155.     32.000000;
  156.     0.700000;0.700000;0.700000;;
  157.     0.000000;0.000000;0.000000;;
  158. }
  159.  
  160. Material digital {
  161.     1.000000;1.000000;1.000000;1.000000;;
  162.     25.000000;
  163.     0.000000;0.000000;0.000000;;
  164.     0.000000;0.000000;0.000000;;
  165.     TextureFilename {
  166.         "digital.bmp";
  167.     }
  168. }
  169.  
  170. Material analog {
  171.     1.000000;1.000000;1.000000;1.000000;;
  172.     25.000000;
  173.     0.000000;0.000000;0.000000;;
  174.     0.000000;0.000000;0.000000;;
  175.     TextureFilename {
  176.         "analog.bmp";
  177.     }
  178. }
  179.  
  180. // Original object name = "analog"
  181. Mesh analog {
  182.     9;        // 9 vertices
  183.     -0.006600;0.004698;0.029000;,
  184.     -0.021500;0.004698;0.029000;,
  185.     -0.021900;0.004698;0.028400;,
  186.     -0.021800;0.004698;0.027800;,
  187.     -0.019500;0.004698;0.025800;,
  188.     -0.018800;0.004698;0.025500;,
  189.     -0.006500;0.004698;0.025500;,
  190.     -0.006000;0.004698;0.026000;,
  191.     -0.006000;0.004698;0.028500;;
  192.  
  193.     7;        // 7 faces
  194.     3;3,2,1;,
  195.     3;4,3,1;,
  196.     3;4,1,0;,
  197.     3;0,8,7;,
  198.     3;0,7,6;,
  199.     3;0,6,5;,
  200.     3;0,5,4;;
  201.  
  202.     MeshMaterialList {
  203.         1;1;0;;
  204.         {analog}
  205.     }
  206.  
  207.     MeshTextureCoords {
  208.         9; // 9 texture coords
  209.         0.094118;1.000000;,
  210.         0.970588;1.000000;,
  211.         0.994118;0.828572;,
  212.         0.988235;0.657143;,
  213.         0.852941;0.085714;,
  214.         0.811765;0.000000;,
  215.         0.088235;0.000000;,
  216.         0.058824;0.142857;,
  217.         0.058824;0.857143;;
  218.     }  // End of texture coords
  219. } // End of Mesh
  220.  
  221. // Original object name = "digital"
  222. Mesh digital {
  223.     9;        // 9 vertices
  224.     0.020400;0.004698;0.028400;,
  225.     0.020000;0.004698;0.029000;,
  226.     0.005100;0.004698;0.029000;,
  227.     0.004500;0.004698;0.028500;,
  228.     0.004500;0.004698;0.026000;,
  229.     0.005000;0.004698;0.025500;,
  230.     0.017300;0.004698;0.025500;,
  231.     0.018000;0.004698;0.025800;,
  232.     0.020300;0.004698;0.027800;;
  233.  
  234.     7;        // 7 faces
  235.     3;1,0,8;,
  236.     3;1,8,7;,
  237.     3;2,1,7;,
  238.     3;4,3,2;,
  239.     3;5,4,2;,
  240.     3;2,7,6;,
  241.     3;6,5,2;;
  242.  
  243.     MeshMaterialList {
  244.         1;1;0;;
  245.         {digital}
  246.     }
  247.  
  248.     MeshTextureCoords {
  249.         9; // 9 texture coords
  250.         0.994118;0.828572;,
  251.         0.970588;1.000000;,
  252.         0.094118;1.000000;,
  253.         0.058824;0.857143;,
  254.         0.058824;0.142857;,
  255.         0.088235;0.000000;,
  256.         0.811765;0.000000;,
  257.         0.852941;0.085714;,
  258.         0.988235;0.657143;;
  259.     }  // End of texture coords
  260. } // End of Mesh
  261.